package kr.hkit.powerjava.chapter23;

public class MyThread extends Thread{
	@Override
	public void run() {
		for (int i = 100; i > 0; i--) {
			System.out.print(i + " ");
			try {Thread.sleep(500);	} catch (InterruptedException e) {}
		} //20부터 영까지 출력
		System.out.println("MyThread 종료");
	}
	
}
